package com.example.big_event.anno;


import com.example.big_event.validation.StateValidation;
import jakarta.validation.Constraint;

import java.lang.annotation.*;



@Documented//元注解
//元注解，FIELD表示应用在属性上
@Target({ElementType.METHOD, ElementType.FIELD, ElementType.ANNOTATION_TYPE, ElementType.CONSTRUCTOR, ElementType.PARAMETER, ElementType.TYPE_USE})
@Retention(RetentionPolicy.RUNTIME)
@Constraint(
        validatedBy = {StateValidation.class}//指定提供校验规则的类
)
public @interface statezwt {


}
